package com.xjj.service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description 通知
 * @Author zhangjin
 * @Date 2022/10/20 9:04
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.xjj.**")
@EnableDiscoveryClient
@EnableFeignClients
@EnableCaching
@MapperScan(basePackages = "com.xjj.service.mapper")
public class AdviceApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdviceApplication.class,args);
    }
}
